<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<style type="text/css">
#stat :HOVER {
	border-color: #17699B;
	border-style: solid;
	border-width: thin;
}
.scroll{width:1100px;
		height:275px;
		overflow-y:auto;
		overflow-x:auto;
		clip-rect:(00px,1100px,275px,0px);}
</style>
</head>
<body>
	<table width="1100px" height="520px">

		<tr>
			<!-- 
			<td align="left" height="50%" width="100%" colspan="2"  ><b>about the college</b>
			
			&emsp; <a href="admin/QueryBuilder.jsp">Query Builder</a>
			
			</td>
			-->
			 <td height="50%" width="100%" colspan="2" style="border-style:; border-widcue-afterh: thin; border-color: lightgrey;">
				<div class="scroll">
				<s:iterator value="logger">
				
				<table>
					<tr><td><s:property value="log"/></td></tr>
				</table>
				</s:iterator>
				</div>	
			</td>
			 
		</tr>
		<tr><td height="20px"></td> </tr>
		<tr>
			<td height="50%" width="20%" style="border-style:solid; border-width: thin; border-color: lightgrey;">
			<table width="100%">
			<!--  <tr><td><a href="showgroups.action">Groups</a></td></tr> -->
				<tr>
					<td colspan="2" align="right">
						<font color="gray" style="font-family: Verdana,Arial,Sans-Serif; font-size: 10px; padding:5px;"><br><b>Statistics and Quick Links</b></font><br>
					</td>
				</tr>
				<tr><td height="20px"></td></tr>
				<tr>
					<td width="50%" align="left">
						&emsp;&emsp;<font color="#1C4158" style="font-family: calibri; font-size: small; font-weight: bold;">Hostels</font>
					</td>
					<td id="stat" width="50%" align="center" style="font-family: calibri; font-size: small; font-weight: bold;">
						<a href="hostels.action"><font color="white" style="background-color: #1374B0;">&ensp;<s:property value="#session['hostelscount']"/>&ensp;</font></a>
					</td>
				</tr>
				<tr><td height="10px"></td></tr>
				<tr>
					<td width="50%" align="left">
						&emsp;&emsp;<font color="#1C4158" style="font-family: calibri; font-size: small; font-weight: bold;">Students</font>
					</td>
					<td id="stat" width="50%" align="center" style="font-family: calibri; font-size: small; font-weight: bold;">
						<a href="populatestudentslist.action"><font color="white" style="background-color: #1374B0;">&ensp;<s:property value="#session['studentscount']"/>&ensp;</font></a>
					</td>
				</tr>
				<tr><td height="10px"></td></tr>
				<tr>
					<td width="50%" align="left">
						&emsp;&emsp;<font color="#1C4158" style="font-family: calibri; font-size: small; font-weight: bold;">Staffs</font>
					</td>
					<td id="stat" width="50%" align="center" style="font-family: calibri; font-size: small; font-weight: bold;">
						<a href="populatestafflist.action"><font color="white" style="background-color: #1374B0;">&ensp;<s:property value="#session['staffscount']"/>&ensp;</font></a>
					</td>
				</tr>
				<tr><td height="10px"></td></tr>
				<tr>
					<td width="50%" align="left">
						&emsp;&emsp;<font color="#1C4158" style="font-family: calibri; font-size: small; font-weight: bold;">Batches</font>
					</td>
					<td id="stat" width="50%" align="center" style="font-family: calibri; font-size: small; font-weight: bold;">
						<a href="showBatches.action"><font color="white" style="background-color: #1374B0;">&ensp;<s:property value="#session['batchescount']"/>&ensp;</font></a>
					</td>
				</tr>
				<tr><td height="10px"></td></tr>
				<tr>
					<td width="50%" align="left">
						&emsp;&emsp;<font color="#1C4158" style="font-family: calibri; font-size: small; font-weight: bold;">Courses</font>
					</td>
					<td id="stat" width="50%" align="center" style="font-family: calibri; font-size: small; font-weight: bold;">
						<a href="showCourses.action"><font color="white" style="background-color: #1374B0;">&ensp;<s:property value="#session['coursescount']"/>&ensp;</font></a>
					</td>
				</tr>
				<tr><td height="10px"></td></tr>
				<tr>
					<td width="50%" align="left">
						&emsp;&emsp;<font color="#1C4158" style="font-family: calibri; font-size: small; font-weight: bold;">Degrees</font>
					</td>
					<td id="stat" width="50%" align="center" style="font-family: calibri; font-size: small; font-weight: bold;">
						<a href="showDegrees.action"><font color="white" style="background-color: #1374B0;">&ensp;<s:property value="#session['degreescount']"/>&ensp;</font></a>
					</td>
				</tr>
				<tr><td height="10px"></td></tr>
				<tr>
					<td width="50%" align="left">
						&emsp;&emsp;<font color="#1C4158" style="font-family: calibri; font-size: small; font-weight: bold;">Departments</font>
					</td>
					<td id="stat" width="50%" align="center" style="font-family: calibri; font-size: small; font-weight: bold;">
						<a href="showDepartments.action"><font color="white" style="background-color: #1374B0;">&ensp;<s:property value="#session['departmentscount']"/>&ensp;</font></a>
					</td>
				</tr>
				<tr><td height="10px"></td></tr>
				<tr>
					<td width="50%" align="left">
						&emsp;&emsp;<font color="#1C4158" style="font-family: calibri; font-size: small; font-weight: bold;">Library Books</font>
					</td>
					<td id="stat" width="50%" align="center" style="font-family: calibri; font-size: small; font-weight: bold;">
						<a href="listallbooks.action?view=all"><font color="white" style="background-color: #1374B0;">&ensp;<s:property value="#session['bookscount']"/>&ensp;</font></a>
					</td>
				</tr>
			</table>
				
			</td>
			<td height="50%" width="70%" align="left">
			<table width="100%">
					<tr height="150px" >
						<td align="left">
							<%@ include file="/NewsTicker.jsp" %>
						</td>
					</tr>
					
				</table></td>
		</tr>

	</table>
</body>
</html>